package dados;
import java.util.ArrayList;
import negocios.cinemaBeans.*;

public class RepositorioExibicao {
	ArrayList<Exibicao> arrayExibicao = new ArrayList<Exibicao>();
	
	private static RepositorioExibicao instance;
	
	private RepositorioExibicao(){
		
	}
	
	public static RepositorioExibicao getRepositorioExibicao(){
		if (instance==null){
			instance = new RepositorioExibicao();
		}
			return instance;
	}
	
	public void addExibicao(Exibicao exibicao){
		this.arrayExibicao.add(exibicao);
	}
	
	public void delExibicao(Exibicao exibicao){
		this.arrayExibicao.remove(exibicao);
	}
	
	public ArrayList<Exibicao> getListaExibicao(){
		return this.arrayExibicao;
	}
	
}
